"use client";
import { useOnlineStatus } from "@/cuicui/hooks/use-online-status";

export function PreviewUseOnlineStatus() {
  const onlineStatus = useOnlineStatus();
  return (
    <div>
      <p>You are {onlineStatus ? "Online" : "Offline"}</p>
    </div>
  );
}

export default PreviewUseOnlineStatus;
